package com.yvan.leto;

public class ResourceFoundException extends RuntimeException {

    private final String path;

    public ResourceFoundException(String path) {
        super("can't found file:" + path);
        this.path = path;
    }

    public ResourceFoundException(String path, boolean canread) {
        super("can't read file:" + path);
        this.path = path;
    }

    public ResourceFoundException(String message, String path) {
        super(message);
        this.path = path;
    }

    public String getPath() {
        return path;
    }
}
